using System;
using System.Collections.Generic;
using System.Text;


namespace Com.AlbLab.GEP.Domain.Entities
{
    [Serializable]
    public class UtenteEntity
    {
        public UtenteEntity()
        {
            
        }

        public UtenteEntity select()
        {
            return this;
        }

        public UtenteEntity Save(UtenteEntity e)
        {
            return e;
        }

        private decimal _Id;
        private System.String _Nome;
        private System.String _Cognome;
        private System.String _Username;
        private System.String _Password;
        private bool _IsAdmin;
        private bool _RoleC;
        private bool _RoleV;

        public bool RoleC
        {
            get { return _RoleC; }
            set { _RoleC = value; }
        }


        public bool RoleV
        {
            get { return _RoleV; }
            set { _RoleV = value; }
        }

   
        public decimal Id
        {
            get { return _Id; }
            set { _Id = value; }
        }

        public bool IsAdmin
        {
            get { return _IsAdmin; }
            set { _IsAdmin = value; }
        }

        public System.String Nome
        {
            get { return _Nome; }
            set { _Nome = value.ToUpper(); }
        }
        public System.String Cognome
        {
            get { return _Cognome; }
            set { _Cognome = value.ToUpper(); }
        }
        public System.String Username
        {
            get { return _Username; }
            set { _Username = value; }
        //    set { _Username = value.ToUpper(); }
        }
        public System.String Password
        {
            get { return _Password; }
            set { _Password = value; }
        }

    }

}
